/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package talvan;

import javax.swing.JDialog;



/**
 *
 * @author DJH
 */
public class Main {

    private static Main Instance = new Main();
    private DbHandler dbh = null;
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Main.Instance.dbh = new DbHandler();
        Main.Instance.loginMenu();
    }
    
    /**
     * Metoda sum skal opna login JForm
     */
    private void loginMenu()
    {
        GUILogin login = new GUILogin(dbh);
        login.setTitle("Log inn");
        login.setVisible(true);
    }
}
